package com.csizg.facemodel.util;

import android.graphics.Bitmap;

/**
 * 识别结果
 *
 * @author haohao(ronghao3508@gmail.com) on 2018/5/17 18:12
 * @version v1.0
 */
public class CompareResult {

    private String path;//图片位置
    private double num;//相似度
    private Bitmap bitmap;
    private int label = -1;

    public CompareResult(String path, double num, Bitmap bitmap) {
        this.path = path;
        this.num = num;
        this.bitmap = bitmap;
    }

    public CompareResult(String path, double num, Bitmap bitmap, int label) {
        this.path = path;
        this.num = num;
        this.bitmap = bitmap;
        this.label = label;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public double getNum() {
        return num;
    }

    public void setNum(double num) {
        this.num = num;
    }

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public int getLabel() {
        return label;
    }

    public void setLabel(int label) {
        this.label = label;
    }
}
